package com.hifar.test.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/**
 * 响应数据模型
 * 包含成功数量和失败数据列表
 */
public class ResponseData {
    
    /**
     * 成功数量
     */
    @JsonProperty("successCount")
    private Integer successCount;
    
    /**
     * 失败数据列表
     */
    @JsonProperty("failedData")
    private List<FailedData> failedData;
    
    public ResponseData() {}
    
    public ResponseData(Integer successCount, List<FailedData> failedData) {
        this.successCount = successCount;
        this.failedData = failedData;
    }
    
    // Getters and Setters
    public Integer getSuccessCount() {
        return successCount;
    }
    
    public void setSuccessCount(Integer successCount) {
        this.successCount = successCount;
    }
    
    public List<FailedData> getFailedData() {
        return failedData;
    }
    
    public void setFailedData(List<FailedData> failedData) {
        this.failedData = failedData;
    }
    
    @Override
    public String toString() {
        return "ResponseData{" +
                "successCount=" + successCount +
                ", failedData=" + failedData +
                '}';
    }
}
